package com.javafactroy.kunlong.data.dao.mysql;


import com.javafactroy.kunlong.data.entity.TaskLogEntity;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import javax.ws.rs.QueryParam;
import java.util.List;
import java.util.Map;


public interface GeneralMysqlSqlMapper extends Mapper<TaskLogEntity> {

    @Select("${sql}")
    public List<TaskLogEntity> selectSql(String sql) ;

    @Select("${sql}")
    public List<Map> generalSelect(String sql);
    List<TaskLogEntity> query(@QueryParam("queryParam")  TaskLogEntity param);
    long count(@QueryParam("queryParam")  TaskLogEntity param);

}
